import java.net.InetSocketAddress;

/**
 * Returned by MulticastQueue to signal that a new peer has joined the
 * peer group.
 *
 * @author Jesper Buus Nielsen, Aarhus University, 2012.
 */
class MulticastMessageJoin extends MulticastMessage {
    public MulticastMessageJoin(InetSocketAddress sender) {
        super(sender);
    }
    public String toString() {
        return "(JoinMessage from " + getSender()  + ")";
    }
}
